<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
div{
	width:500px;
	margin: 0 auto;
}
ul {
	display: inline;
}

ul li {
	display: inline;
	color: red;
}
</style>
</head>
<body>
	<h3 align="center">修改密码</h3>
	<div>
		<form action="${pageContext.request.contextPath }/admin_update" method="post">
				   <input type="hidden" name="admin.id" value="${param.adminId }">
			登录名称：<input type="text" name="admin.userName" value="${param.userName }" readonly="readonly"/><br> 
			原始密码：<input type="password" name="admin.password"><s:fielderror fieldName="admin.password"/><br> 
			新设密码：<input type="password" name="newpassword"><s:fielderror fieldName="newpassword"/><br>
			二次确认：<input type="password" name="repassword"><s:fielderror fieldName="repassword"/><br>
			<input type="submit" value="提交">
		</form>
	</div>
</body>
</html>